#pragma once
#include "CommercialBuilding.h"
class Hotel :
	public CommercialBuilding
{
private:
	int numberOfBeds;
public:

	Hotel() : numberOfBeds(-1) {	}

	Hotel(string info, int numberOfBeds)
		: CommercialBuilding(info)
	{
		this->numberOfBeds = numberOfBeds;
	}

	~Hotel()
	{
	}

	void setNumberOfBeds(int numberOfBeds){ this->numberOfBeds = numberOfBeds; }
	int getNumberOfBeds(){ return numberOfBeds; }

	void Print()
	{
		CommercialBuilding::Print();
		cout << ", Number of beds: " << numberOfBeds;
	}
};

